package com.jctrip.hotel.source.model.elong.resp.offline;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Author: zxy
 * @CreateTime: 2023-10-19 12:00
 * @Description:
 */
@Data
public class ElongQueryShardStateResp implements Serializable {
    @JsonProperty("States")
    private List<States> states;

    @Data
    public static class States implements Serializable {
        @JsonProperty("LastId")
        private Long lastId;

        @JsonProperty("Time")
        private String time;

        @JsonProperty("HotelId")
        private String hotelId;

        @JsonProperty("HotelCode")
        private String hotelCode;

        @JsonProperty("RoomId")
        private String roomId;

        @JsonProperty("RoomTypeId")
        private String roomTypeId;

        @JsonProperty("RatePlanId")
        private Integer ratePlanId;

        @JsonProperty("Name")
        private String name;

        @JsonProperty("Status")
        private Boolean status;

        @JsonProperty("StateType")
        private String stateType;
    }
}
